{extend name="base"}
{block name="title"}房间配置详情{/block}
{block name="head"}
<style>
.border-table tbody th {text-align:left;}
</style>
{/block}
{block name="body"}
<body class="mainbody">
<form>
<!--导航栏-->
<div class="location">
  <a href="javascript:history.back(-1);" class="back"><i class="iconfont icon-up"></i><span>返回上一页</span></a>
  <a href="{:url('index/home')}" class="home"><i class="iconfont icon-home"></i><span>首页</span></a>
  <i class="arrow iconfont icon-arrow-right"></i>
  <span>房间配置详情</span>
</div>
<!--/导航栏-->
<!--工具栏-->
<div id="floatHead" class="toolbar-wrap">
  <div class="toolbar">
    <div class="box-wrap">
      <a class="menu-btn"><i class="iconfont icon-more"></i></a>
      <div class="l-list">
        <div class="menu-list">
          <input type="text" class="input txt" autocomplete="off" name="search" value="{$search|default=''|htmlentities}" placeholder="房间号/端口" />
          <a class="btn-search"><i class="iconfont icon-search"></i></a>
        </div>
      </div>
    </div>
  </div>
</div>
<!--/工具栏-->
<!--列表-->
<div class="table-container">
<table class="border-table ltable" style="width:auto">
  <tr>
    <th>#</th>
    <th>房间名称</th>
    <th>房间ID</th>
    <th>房间号前缀</th>
    <th>房间端口</th>
    <th>游戏标识</th>
    <th>房间等级</th>
    <th>连接人数({$Total|default=0})</th>
  </tr>
{empty name="list"}
  <tr><td colspan="8">Oh~暂无数据!</td></tr>
{else/}
  {volist name="list" id="v"}
  <tr>
    <td>{$i}</td>
    <td>{$v.ServerName}</td>
    <td>{$v.ServerID}</td>
    <td>{$v.ServerID2}</td>
    <td>{$v.ServerPort}</td>
    <td>{$v.KindID}</td>
    <td>{$v.ServerLevel}</td>
    <td><a target="_blank" href="{:url('user.online/index')}?server={$v.ServerID}">{$v.Total}</a></td>
  </tr>
  {/volist}
{/empty}
</table>
</div>
<!--/列表-->
<!--内容底部-->
<div class="page-footer"><div class="btn-wrap">{$list->render()}</div></div>
<!--/内容底部-->
</form>
</body>
{/block}